import junit.framework.TestCase;


public class Test extends TestCase{

	public void testBascara(){
		Bascara b = new Bascara();
		Double var[] =  new Double[2];
		var[0] = (double) 1;
		var[1] = (double) (2/3);
		//assertEquals(var, b.calcular(3, 5, 2));
		var[0] = (double) 16/7;
		var[1] = (double) (4);
		//assertEquals(var, b.calcular(7, 12, 64));
		assertEquals(0.0, b.calcular(1, 0, 0));
		assertEquals("Tiene raices complejas", b.calcular(1, 0, 4));
		var[0] = (double) -2;
		var[1] = (double) 2;
		//assertEquals(var, b.calcular(-1, 0, 4));
	}
}
